POV-Ray : Newsgroups : povray.programming : Why not generate parser with Bison & Flex? : Re: Why not generate parser with Bison & Flex? Server Time
29 Jul 2024 08:18:01 EDT (-0400)
  Re: Why not generate parser with Bison & Flex?  
From: Gordon
Date: 17 Feb 1999 23:41:50
Message: <36cb9a0e.0@news.povray.org>
Thomas Baier wrote in message <368DC3BC.48BAAB0B@ibm.net>...
>Hi,
>
>
>>   I really like povray's syntax flexibility. For example, intead of
having
>> to type:
>>   light_source { <1,2,3>, color rgb <1,1,1> }
>> you can type
>>   light_source { <1,2,3>, rgb <1,1,1> }
>> or
>>   light_source { <1,2,3>, <1,1,1> }
>> or
>>   light_source { <1,2,3>, 1 }
>> or
>>   light_source { <1,2,3> 1 }
>> or even
>>   light_source { <1,2,3>1 }
>>
>
>Well, no problem to support your examples with L&Y but you would have to
follow a
>more restrict comma setting.
>
>-tb
>

So, we would still be able to have ALL the flexiblilty in comma use or not?

It would seem to me that the idea is to make the change to the way POVRay is
written but in NO WAY modify the language definition. Then there would be no
issues with compatibility with older files, would there? Can you do this
with Bison?


Gordon


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.